import http from "../utils/http.js"

export const getWorksDetails = (id) => {
  return http.get(`/works/getWorksDetails/${id}`)
}

export const getOtherWorksPage = (params) => {
  return http.post('/works/getOtherWorksPage', params)
}